package com.horay.statemachiedemo.multi;

import com.horay.statemachiedemo.multi.constant.StateMachineConstant;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.statemachine.config.EnableStateMachine;

/**
 * Class description
 *
 * @author heyingcheng
 * @date 2020/10/23
 */
@Slf4j
@EnableStateMachine(name = {StateMachineConstant.ORDER_MACHINE_ID, StateMachineConstant.FORM_MACHINE_ID, StateMachineConstant.COMPLEX_MACHINE_ID, StateMachineConstant.FACTORY_FORM_MACHINE_ID})
@SpringBootApplication
public class StatemachieMultiApplication {

	public static void main(String[] args) {
		SpringApplication.run(StatemachieMultiApplication.class, args);
	}

}
